#include "gtest/gtest.h"

class FooTest : public testing::Test
{
protected:

	void SetUp()
	{
		m_iTarget = 5;
	}

	void TearDown()
	{

	}

public:
	bool IsLargeThanTarget(const int &iNum);

private:
	int m_iTarget;
};

bool FooTest::IsLargeThanTarget(const int &iNum)
{
	return iNum > m_iTarget;
}

TEST_F(FooTest, HandlesInput6)
{
	EXPECT_EQ(IsLargeThanTarget(6), true);
}

TEST_F(FooTest, HandlesInput5)
{
	EXPECT_EQ(IsLargeThanTarget(5), false);
}

TEST_F(FooTest, HandlesInput4)
{
	EXPECT_EQ(IsLargeThanTarget(4), false);
}


int main(int argc, char **argv)
{
	::testing::InitGoogleTest(&argc, argv);
	return RUN_ALL_TESTS();
}


